package com.sylli.oeuf.server.game.logic.action;

import com.sylli.oeuf.server.game.logic.BattleActor;

public class Damage extends ActionValue {

	public Damage(BattleActor source, BattleActor target, int value,
			ActionValueFlag flag, ActionValueElement element) {
		super(source, target, value, flag, element);
	}
	
	@Override
	public String toString() {
		return value + " " + element.toString() + " damages" + (flag.equals(ActionValueFlag.Critical)?" [Critical]":"");
	}
}
